﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SimpleMapper
{
    /// <summary>
    /// 将属性映射为指定名称
    /// </summary>
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
    public sealed class MappingNameAttribute : Attribute
    {
        /// <summary>
        /// 要将当前属性映射到的名称
        /// </summary>
        public string Name { set; get; }

    }
}
